//
//  DGLoginViewController.m
//  DownGuys
//
//  Created by zhanghongwei on 27/2/17.
//  Copyright © 2017年 down-guys. All rights reserved.
//

#import "DGLoginViewController.h"
#import "DGRegisterViewController.h"//注册
#import "DGForgetPwdViewController.h"//忘记密码

@interface DGLoginViewController ()

@end

@implementation DGLoginViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view from its nib.
    
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

#pragma mark - click event

- (IBAction)clickLogin:(id)sender {
    
}

- (IBAction)clickForgetPWD:(id)sender {
    DGForgetPwdViewController *vc = [[DGForgetPwdViewController alloc] initWithNibName:@"DGRegisterViewController" bundle:nil];
    [self.navigationController pushViewController:vc animated:YES];
}

- (IBAction)clickRegister:(id)sender {
    DGRegisterViewController *vc = [[DGRegisterViewController alloc] initWithNibName:@"DGRegisterViewController" bundle:nil];
    [self.navigationController pushViewController:vc animated:YES];
}

@end














